﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using Common;

namespace BoletoElectronicoDesktop
{
    public class FormListDelete : FormBase
    {
        public enum CallType
        {
            List,
            Other
        }

        protected CallType Uso { get; set; }
        public FormListDelete(Util.Funcionalidad Func)
            : base(Func)
        {
            Uso = GetUse(Func);
        }

        protected static CallType GetUse(Util.Funcionalidad MiFuncionalidad)
        {
            if (MiFuncionalidad.ToString().Contains("Consulta"))
                return CallType.List;
            else
                return CallType.Other;
        }
    }
}
